package com.situ.blog.mapper;

import com.situ.blog.pojo.Blog;
import com.situ.blog.pojo.vo.BlogCountVO;

import java.util.List;

public interface BlogMapper {
    List<Blog> selectAll();

    int deleteById(Integer id);

    int add(Blog blog);

    Blog selectById(Integer id);

    void incrementCount(Integer id);

    List<Blog> selectHotBlog();

    List<BlogCountVO> selectBlogCount();
}
